package com.test.ssm.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.test.ssm.pojo.Bill;

@Mapper
public interface BillDao {
    int insert(@Param("pojo") Bill pojo);

    int update(@Param("pojo") Bill pojo);

    Bill getBillById(Integer id);

    List<Bill> getBillList(Bill bill);

    void deleteById(Integer id);
}
